﻿using System.Collections.Generic;

namespace LdtJudge.DataEngine.Model.EvidenceStandardizationModel
{
    /// <summary>
    /// 卷宗证据回填类
    /// </summary>
    public class EvidenceFillBackModel
    {
        /// <summary>
        /// 案件基本信息
        /// </summary>
        public CaseInfo CaseInfo { get; set; }

        /// <summary>
        /// 人员证据信息
        /// </summary>
        public List<PersonDossierItem> PersonDossier { get; set; }

        /// <summary>
        /// 文书信息
        /// </summary>
        //public string DocInfos { get; set; }

        /// <summary>
        /// 消息ID
        /// </summary>
        public string MsgId { get; set; }

        /// <summary>
        /// 消息类型名称
        /// </summary>
        public string MsgTypeName { get; set; }
    }

    /// <summary>
    /// 案件基本信息
    /// </summary>
    public class CaseInfo
    {
        /// <summary>
        /// 案由
        /// </summary>
        public string CaseCause { get; set; }
        /// <summary>
        /// 案号
        /// </summary>
        public string CaseCode { get; set; }
        /// <summary>
        /// 案件ID
        /// </summary>
        public string CaseId { get; set; }
        /// <summary>
        /// 案件类型
        /// </summary>
        public string CaseType { get; set; }
        /// <summary>
        /// 案件关联ID
        /// </summary>
        public string OutRealtId { get; set; }
    }

    /// <summary>
    /// 人员证据
    /// </summary>
    public class PersonDossierItem
    {
        /// <summary>
        /// 人员诉讼地位
        /// </summary>
        public int SuitDegreenID { get; set; }
        /// <summary>
        /// 人员信息，多个人使用逗号分隔
        /// </summary>
        public string Persons { get; set; }
        /// <summary>
        /// 证据列表
        /// </summary>
        public List<DossierListItem> DossierList { get; set; }
    }

    /// <summary>
    /// 卷宗信息
    /// </summary>
    public class DossierListItem
    {
        /// <summary>
        /// 卷宗编号
        /// </summary>
        public string DossierCode { get; set; }
        /// <summary>
        /// 卷宗结构化信息
        /// </summary>
        public string DossierElementXML { get; set; }
        /// <summary>
        /// 基础信息
        /// </summary>
        public string DSIBasicEvdXML { get; set; }
        /// <summary>
        /// 通用信息
        /// </summary>
        public string DSIGeneralEvdXML { get; set; }
        /// <summary>
        /// 企业法人营业执照
        /// </summary>
        public string DossierName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SBPID { get; set; }

        /// <summary>
        /// 回填结构 0失败 1成功
        /// </summary>
        public string re { get; set; }

        /// <summary>
        /// 回填错误时保存错误信息
        /// </summary>
        public string errMsg { get; set; }
    }
}
